local skill = fk.CreateSkill{
    name = "va_heg__bolan_other&",
}

Fk:loadTranslationTable{
    ["va_heg__bolan_other&"] = "博览",
    [":va_heg__bolan_other&"] = "出牌阶段限一次，你可以令“钟琰”观看三张手牌，然后其可以使用其中一张牌并令此技能失效直至其下回合开始。",
}

skill:addEffect("active",{
    prompt = "博览：你可以令“钟琰”观看至多三张手牌，然后其可以使用其中一张牌并令此技能失效直至其下回合开始",
    can_use = function (self, player)
        local to = table.filter(Fk:currentRoom().alive_players, function (p) return p:hasSkill("va_heg__bolan") end)[1]
        return player:usedSkillTimes(skill.name, Player.HistoryPhase) == 0 and to:getMark("@@va_heg__bolan_prohibit") == 0
    end,
    target_num = 0,
    card_num = 0,
    on_use = function (self, room, effect)
        local player = table.filter(room.alive_players, function (p) return p:hasSkill("va_heg__bolan") end)[1]
        local result, dat = room:askToUseActiveSkill(player, {
            skill_name = "#va_heg__bolan_active",
            prompt = "#va_heg__bolan-use",
            cancelable = true,
        })
        if result and dat then
            room:useCard({
                card = Fk:getCardById(dat.cards[1]),
                from = player,
                tos = dat.targets,
                extraUse = true,
            })
            room:setPlayerMark(player, "@@va_heg__bolan_prohibit", 1)
        end
    end,
})

return skill